package personal.vivian.dto;

import personal.vivian.annontation.DataField;
import personal.vivian.annontation.DataModel;
import personal.vivian.annontation.Hidden;
import personal.vivian.constants.EditMode;

import java.util.Date;

@DataModel(name="inp")
public class Input {
    @DataField(val = "zhu;wang")
    private String in;
    @DataField
    private Date startDate;
    @DataField(editMode = EditMode.ReadOnly)
    private String hide;
    @DataField
    @Hidden
    private String hidefield;
    public String getIn() {
        return in;
    }

    public void setIn(String in) {
        this.in = in;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getHide() {
        return hide;
    }

    public void setHide(String hide) {
        this.hide = hide;
    }

    public String getHidefield() {
        return hidefield;
    }

    public void setHidefield(String hidefield) {
        this.hidefield = hidefield;
    }
}
